<?php
/* Smarty version 3.1.38, created on 2021-01-16 15:01:18
  from 'D:\phpstudy\phpstudy_pro\WWW\ggw\extend\smartybuilder\libs\Templates\form\groupselect.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.38',
  'unifunc' => 'content_60028f3e7dab94_25872500',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '1ffd85509c56b2a86a88c3bcde38878fe728c48b' => 
    array (
      0 => 'D:\\phpstudy\\phpstudy_pro\\WWW\\ggw\\extend\\smartybuilder\\libs\\Templates\\form\\groupselect.html',
      1 => 1610774129,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_60028f3e7dab94_25872500 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="layui-form-item">
    <div class="layui-inline">
        <label class="layui-form-label"><?php echo $_smarty_tpl->tpl_vars['value']->value['desc'];?>
</label>
        <div class="layui-input-inline">
            <select name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
" lay-search>
                <option value="">请选择</option>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['value']->value['option'], 'v');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
                    <?php if ((isset($_smarty_tpl->tpl_vars['v']->value['child']))) {?>
                        <optgroup label="<?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
">
                            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['v']->value['child'], 'va');
$_smarty_tpl->tpl_vars['va']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['va']->value) {
$_smarty_tpl->tpl_vars['va']->do_else = false;
?>
                            <?php if ($_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']] == $_smarty_tpl->tpl_vars['value']->value['value']) {?>
                            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                            <?php } else { ?>
                            <option value="<?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
"><?php echo $_smarty_tpl->tpl_vars['va']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                            <?php }?>
                            <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                        </optgroup>
                    <?php } else { ?>
                <?php if ($_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']] == $_smarty_tpl->tpl_vars['value']->value['value']) {?>
                <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
" selected=""><?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                <?php } else { ?>
                <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['value']];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value[$_smarty_tpl->tpl_vars['value']->value['key_value']['show']];?>
</option>
                <?php }?>
                    <?php }?>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </select>
            <br><span style="color: red"><?php echo $_smarty_tpl->tpl_vars['value']->value['tagging'];?>
</span>
        </div>
    </div>
</div><?php }
}
